package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void saveOrUpdate(Permission permission);
    void delete(Long id);
    Permission getPermissionById(Long id);
    List<Permission> getAll();


    PageInfo<Permission> selectByQuery(QueryObject queryObject);

    void selectAllExpressions();
}
